// dy-video/src/main/java/com/zjyd/dyvideo/controller/VideoController.java
package com.zjyd.dyvideo.controller;

import com.zjyd.dyvideo.service.ITestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/video")
public class VideoController {

    @Autowired
    private ITestService testService;

    // 暴露接口供dy-service调用
    @GetMapping("/process")
    public String processBusiness() {
        // 调用TestService处理业务
        return testService.testService();
    }
}